<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
    <title>
        <?php echo $title; ?>
    </title>
    <link rel="stylesheet" href="admin/view/stylesheet/bootstrap.min.css">
    <?php foreach ($styles as $style) { ?>
    <link href="<?php echo $style['href']; ?>" type="text/css" rel="<?php echo $style['rel']; ?>" media="<?php echo $style['media']; ?>" />
    <?php } ?>
    <link rel="stylesheet" href="admin/view/stylesheet/in.css">
</head>

<body>
    <div class="container-fluid">
        <nav class="navbar navbar-fixed-top header-navbar-in">
            <div class="container header-container">
                <div class="navbar-header navbar-h-in">
                    <button type="button" class="navbar-toggle collapsed" id="nav-tra" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="icon-bar header-icon-bar"></span>
                        <span class="icon-bar header-icon-bar"></span>
                        <span class="icon-bar header-icon-bar"></span>
                    </button>
                    <!-- <button type="button" class="my-toggle" id="nav-tra-little">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar header-icon-bar"></span>
                <span class="icon-bar header-icon-bar"></span>
                <span class="icon-bar header-icon-bar"></span>
            </button> -->
                    <a class="navbar-brand" href="<?php echo $viewreminder ?>">Memory-Curve</a>
                </div>
                <div id="navbar" class="collapse navbar-collapse">
                    <ul class="nav navbar-nav header-nav-main">
                        <li class="active"><a href="<?php echo $viewreminder ?>">查看近期详情</a></li>
                        <li><a href="<?php echo $createknowledge ?>">创建知识点</a></li>
                        <li><a href="<?php echo $knowledgelist ?>">知识点列表</a></li>
                        <li><a href="<?php echo $knowledgeexam ?>">知识点考评</a></li>
                        <li><a href="<?php echo $systemsetting ?>">系统设置</a></li>
                        <li><a href="<?php echo $message ?>">意见与建议</a></li>
                        <li><a href="<?php echo $donation ?>">捐赠</a></li>
                    </ul>
                    <ul class="nav navbar-nav navbar-right header-nav-main header-nav-little">
                        <li>
                            <a href="<?php echo $privatesetting ?>" class="navbar-link header-nickname">
                                <?php echo $username ?>
                            </a>
                        </li>
                        <li>
                            <p class="navbar-text header-split-line">|</p>
                        </li>
                        <li><a href="<?php echo $logout ?>" class="navbar-link">退出</a></li>
                    </ul>
                </div>
                <!--/.nav-collapse -->
            </div>
        </nav>